<template>
    <el-scrollbar wrap-class="list-list" view-class="view-box" :native="native"
                  :noresize="noresize" :wrapStyle.sync="wrapStyle"
                  class="scroll-view" ref="scroll">
        <slot></slot>
    </el-scrollbar>
</template>

<script>
    export default {
        name: 'scroll-bar',
        props: {
            native: {
                type: Boolean,
                default: () => {
                    return false
                }
            },
            noresize: {
                type: Boolean,
                default: () => {
                    return false
                }
            },
            wrapStyle: {
                type: Array,
                default: () => {
                    return []
                }
            }
        },
        data() {
            return {}
        },
        mounted() {

        },
        methods: {},
        components: {}
    }
</script>

<style scoped lang="less">

</style>
